<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="Robots" content="all" />
<meta name="Googlebot" content="all" />
<meta name="Author" content="内蒙古呼和浩特市第二中学网校" />
<meta name="Copyright" content="内蒙古呼和浩特市第二中学版权所有" />
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{CSS_PATH}public.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}list-download.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script type="text/javascript" src="{JS_PATH}jquery.sGallery.js"></script>
<script type="text/javascript" src="{JS_PATH}search_common.js"></script>
<style type="text/css">
	.brd {text-align:center; vertical-align:middle; margin-top:10px;}
	.lists_img{width:982px;}
	.lists_img ul{width:980px; list-style:none;}
	.lists_img li{margin:5px 0px 5px 20px; width:980px;}
	.lists_img li{display:block; float:left; width:106px;}
	.lists_img li p{line-height:24px; height:24px; text-align:center;}
	.lists_img img{border:1px solid #ccc; padding:3px;}	
</style>
</head>
<body>
{template "content","header_common"}
{php $door=$_REQUEST["door"];}
{if $door==1}
{php $a="免费版";}
{/if}
{if $door==2}
{php $a="收费版";}
{/if}
{if $door==3}
{php $a=0;}
{/if}
<div id="page">
<div id="boardbox">
	<div class="crumb">
		<b>当前位置：</b>
		<a href="{siteurl($siteid)}">首页</a><span> > </span>{catpos($catid)} 列表
	</div>	
	<div class="lists_img">
			<ul>
				{pc:content action="lists" catid="$catid" num="100" order="id DESC"}
				{loop $data $r}
                    {if ($door=1||$door=2)}
                        {if $r[copytype]==$a}                    
                        <li>
                            <div class="contbox">
                                <span class="himg">
                                    <a href="{$r[url]}" target="_blank"><img src="{thumb($r[thumb], 105, 125)}" alt="{$r[title]}" /></a>
                                    <p><a href="">图片名称</a></p>
                                </span>
                            </div>
                        </li>
                        {/if}
                    {else}
                        <li>
                            <div class="contbox">
                                <span class="himg">
                                    <a href="{$r[url]}" target="_blank"><img src="{thumb($r[thumb], 105, 125)}" alt="{$r[title]}" /></a>
                                    <p><a href="">图片名称</a></p>
                                </span>
                            </div>
                        </li> 
                    {/if}
				{/loop}  
				{/pc}
			</ul>
	</div><!-- css class lists_img end -->
	
	<div class="clear">&nbsp;</div>
</div><!-- css id boardbox end -->

{template "content","footer_cat"}